<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="恢复Exchange数据库">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="exchange_0077.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="">
  <meta name="DC.Publisher" content="20250306">
  <meta name="prodname" content="csbs">
  <meta name="documenttype" content="usermanual">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="exchange_0084">
  <meta name="DC.Language" content="zh-cn">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>恢复Exchange数据库</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="exchange_0084"></a><a name="exchange_0084"></a>
  <h1 class="topictitle1">恢复Exchange数据库</h1>
  <div>
   <p>当需要对已备份的数据库进行恢复时，可以参考本节使用副本恢复数据库至原位置或新位置。</p>
   <div class="section">
    <h4 class="sectiontitle">前提条件</h4>
    <ul id="exchange_0084__exchange_0083_ul698511719473">
     <li id="exchange_0084__exchange_0083_li198944918478">执行恢复前，请确保Exchange Server服务和相关的依赖服务正常运行。对应服务可参考<a href="https://learn.microsoft.com/zh-cn/exchange/plan-and-deploy/deployment-ref/services-overview" target="_blank" rel="noopener noreferrer">Exchange 服务器上的 Exchange 服务概述</a>。</li>
     <li id="exchange_0084__exchange_0083_zh-cn_topic_0000001806524390_li42661234120">执行恢复前，请确保<span id="exchange_0084__exchange_0083_text3709153812404">本产品</span>系统时间与客户端时间保持一致，否则可能导致日志恢复后数据丢失。</li>
    </ul>
   </div>
   <div class="section">
    <h4 class="sectiontitle">注意事项</h4>
    <ul>
     <li>恢复至原位置或新位置时，请确保目标位置空间足够，否则会恢复失败。</li>
     <li>恢复前需要对待恢复的数据库进行卸载（支持人工或系统自动卸载）。</li>
     <li>日志副本不支持数据库用户级恢复。</li>
    </ul>
   </div>
   <div class="section">
    <h4 class="sectiontitle">数据库恢复操作步骤</h4>
    <ol>
     <li><span>选择<span class="uicontrol" id="exchange_0084__zh-cn_topic_0000002199964685_uicontrol201131546165412">“<span id="exchange_0084__zh-cn_topic_0000002199964685_text4113184695420">数据利用</span> &gt; <span id="exchange_0084__zh-cn_topic_0000002199964685_text1311384665413">副本数据</span> &gt; <span id="exchange_0084__zh-cn_topic_0000002199964685_text843804914500">应用</span> &gt; <span id="exchange_0084__zh-cn_topic_0000002199964685_text1781814011566">Exchange</span>”</span>。</span></li>
     <li><span>以数据库资源维度或以副本维度查找副本。本节以数据库资源维度为例进行说明。</span><p></p><p>在“资源”页签，根据数据库名称查找到需要恢复的数据库，并单击数据库名称。</p> <p></p></li>
     <li><span>依次选择年、月、天找到副本。</span><p></p><p>当日历上显示<span><img src="zh-cn_image_0000002200050745.png"></span>，即表示该月、该天存在副本。</p> <p></p></li>
     <li><span>指定时间点。</span></li>
     <li><span>在副本所在行，单击<span class="uicontrol">“更多 &gt; 恢复”</span>。</span><p></p>
      <ul>
       <li>恢复数据库至原位置<p>相关参数说明如<a href="#exchange_0084__table16163143516351">表1</a>所示。</p>
        <div class="tablenoborder">
         <a name="exchange_0084__table16163143516351"></a><a name="table16163143516351"></a>
         <table cellpadding="4" cellspacing="0" summary="" id="exchange_0084__table16163143516351" frame="border" border="1" rules="all">
          <caption>
           <b>表1 </b>恢复Exchange数据库原位置
          </caption>
          <colgroup>
           <col style="width:32.53%">
           <col style="width:67.47%">
          </colgroup>
          <thead align="left">
           <tr>
            <th align="left" class="cellrowborder" valign="top" width="32.53%" id="mcps1.3.4.2.5.2.1.1.2.2.3.1.1"><p>参数</p></th>
            <th align="left" class="cellrowborder" valign="top" width="67.47%" id="mcps1.3.4.2.5.2.1.1.2.2.3.1.2"><p>说明</p></th>
           </tr>
          </thead>
          <tbody>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.1 ">
             <div class="p">
              标签
              <div class="note" id="exchange_0084__mysql-0074_zh-cn_topic_0000002164660718_note6966434109">
               <span class="notetitle"> 说明： </span>
               <div class="notebody">
                <p id="exchange_0084__mysql-0074_zh-cn_topic_0000002164660718_zh-cn_topic_0000002200147037_p1816719214566"><span id="exchange_0084__mysql-0074_zh-cn_topic_0000002164660718_zh-cn_topic_0000002200147037_ph206615454589">仅1.6.0及后续版本支持此功能。</span></p>
               </div>
              </div>
             </div></td>
            <td class="cellrowborder" valign="top" width="67.47%" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.2 "><p>当选择恢复至<span class="uicontrol" id="exchange_0084__mysql-0074_uicontrol245831518502">“<span id="exchange_0084__mysql-0074_text15458191510501">新位置</span>”</span>时展示该参数。</p> <p>可通过标签筛选数据库。</p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.1 "><p>单机/可用性组</p></td>
            <td class="cellrowborder" valign="top" width="67.47%" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.2 "><p id="exchange_0084__p1168434218436">选择恢复的目标单机/可用性组。</p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.1 "><p><span style="color:#4D4D4D;">日志文件生成时间</span></p></td>
            <td class="cellrowborder" valign="top" width="67.47%" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.2 ">
             <div class="p">
              <span style="color:#1A1A1A;">选择任一日志文件生成时间，会恢复该时间点及之前生成的所有日志文件。</span>
              <div class="note">
               <span class="notetitle"> 说明： </span>
               <div class="notebody">
                <p>系统默认显示5个日志文件生成时间点，包括指定时间点、及其前两个和后两个日志文件生成时间点。若指定时间点无日志文件生成，则默认选择该时间点最近的日志文件生成时间点。</p>
                <ul>
                 <li>若指定时间点恰好为恢复的日志副本中第一个或者最后一个日志文件生成的时间点，则仅显示该副本中前三个或最后三个日志文件生成的时间点。</li>
                 <li>若指定时间点为恢复的日志副本中第二个/倒数第二个日志文件生成的时间点，则仅显示该副本中前四个或最后四个日志文件生成的时间点。</li>
                </ul>
               </div>
              </div>
             </div></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.1 "><p>恢复前自动卸除数据库</p></td>
            <td class="cellrowborder" valign="top" width="67.47%" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.2 ">
             <div class="p">
              开启该开关，恢复前会自动卸除目标数据库，此时目标数据库将无法使用。
              <div class="note" id="exchange_0084__exchange_0083_note55671514165919">
               <span class="notetitle"> 说明： </span>
               <div class="notebody">
                <p id="exchange_0084__exchange_0083_p142261721229">关闭该开关，当目标数据库处于装入状态时，将会导致恢复失败。</p>
               </div>
              </div>
             </div></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.1 "><p>恢复后自动装入数据库</p></td>
            <td class="cellrowborder" valign="top" width="67.47%" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.2 "><p>恢复完成后，目标数据库将处于卸除状态。开启该开关后，会自动装入目标数据库。</p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.1 "><p>数据库名称</p></td>
            <td class="cellrowborder" valign="top" width="67.47%" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.2 "><p>设置恢复后的数据库新名称。</p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.1 "><p><span>恢复前执行脚本</span></p></td>
            <td class="cellrowborder" rowspan="3" valign="top" width="67.47%" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.2 "><p id="exchange_0084__p460553957">仅对于单机的数据库恢复，可以设置“<span id="exchange_0084__text1358816124015">恢复前执行脚本</span>”、“<span id="exchange_0084__text18847162810407">恢复成功执行脚本</span>”、“<span id="exchange_0084__text09251338144015">恢复失败执行脚本</span>”。</p>
             <div class="p">
              您可根据实际情况，在恢复任务执行前、或恢复任务执行成功后、或恢复任务执行失败后，执行用户自定义的脚本，脚本类型为bat。若将脚本放置在DataBackup\ProtectClient\ProtectClient-E\bin\thirdparty目录下，则只需填写脚本名称，若将脚本放置在其他目录下，则需要填写脚本绝对路径。
              <div class="note" id="exchange_0084__exchange_0083_note2110172314715">
               <span class="notetitle"> 说明： </span>
               <div class="notebody">
                <p id="exchange_0084__exchange_0083_p2011012319717">当配置了<span class="uicontrol" id="exchange_0084__exchange_0083_uicontrol128133372811">“<span id="exchange_0084__exchange_0083_text1081312373820">恢复成功执行脚本</span>”</span>时，即使该脚本执行失败，<span id="exchange_0084__exchange_0083_text294017569311">本产品</span>上也会显示恢复任务的状态为<span class="uicontrol" id="exchange_0084__exchange_0083_uicontrol1181363711811">“<span id="exchange_0084__exchange_0083_text14813103719816">成功</span>”</span>。请您留意任务详情中是否有后置脚本执行失败的相关提示，如有请及时修正脚本。</p>
               </div>
              </div>
             </div> <p></p> <p></p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.1 "><p><span>恢复成功执行脚本</span></p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" headers="mcps1.3.4.2.5.2.1.1.2.2.3.1.1 "><p><span>恢复失败执行脚本</span></p></td>
           </tr>
          </tbody>
         </table>
        </div></li>
       <li>恢复数据库至新位置<p>相关参数说明如<a href="#exchange_0084__zh-cn_topic_0000001263936798_table93951625101715">表2</a>所示。</p>
        <div class="tablenoborder">
         <a name="exchange_0084__zh-cn_topic_0000001263936798_table93951625101715"></a><a name="zh-cn_topic_0000001263936798_table93951625101715"></a>
         <table cellpadding="4" cellspacing="0" summary="" id="exchange_0084__zh-cn_topic_0000001263936798_table93951625101715" frame="border" border="1" rules="all">
          <caption>
           <b>表2 </b>恢复Exchange数据库新位置
          </caption>
          <colgroup>
           <col style="width:32.53%">
           <col style="width:67.47%">
          </colgroup>
          <thead align="left">
           <tr>
            <th align="left" class="cellrowborder" valign="top" width="32.53%" id="mcps1.3.4.2.5.2.1.2.2.2.3.1.1"><p>参数</p></th>
            <th align="left" class="cellrowborder" valign="top" width="67.47%" id="mcps1.3.4.2.5.2.1.2.2.2.3.1.2"><p>说明</p></th>
           </tr>
          </thead>
          <tbody>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.1 "><p>单机/可用性组</p></td>
            <td class="cellrowborder" valign="top" width="67.47%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.2 "><p>选择恢复的目标单机/可用性组。</p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.1 "><p>数据库文件路径</p></td>
            <td class="cellrowborder" valign="top" width="67.47%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.2 "><p><span style="color:#282B33;">指定恢复目标数据库“.edb”文件的绝对路径，路径中的盘符必须存在。</span></p> <p>输入示例：<em>C:\Mailbox\dbname\dbname.edb</em></p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.1 "><p>日志文件路径</p></td>
            <td class="cellrowborder" valign="top" width="67.47%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.2 "><p><span style="color:#282B33;">指定恢复目标数据库“.log”文件所在目录的绝对路径，路径中的盘符必须存在。</span></p> <p>输入示例：<em>C:\Mailbox\dbname</em></p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.1 "><p><span style="color:#4D4D4D;">日志文件生成时间</span></p></td>
            <td class="cellrowborder" valign="top" width="67.47%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.2 "><p><span style="color:#1A1A1A;">选择任一日志文件生成时间，会恢复该时间点及之前生成的所有日志文件。</span></p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.1 "><p>恢复前自动卸除数据库</p></td>
            <td class="cellrowborder" valign="top" width="67.47%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.2 ">
             <div class="p">
              开启该开关，恢复前会自动卸除目标数据库，此时目标数据库将无法使用。
              <div class="note" id="exchange_0084__exchange_0083_note55671514165919_1">
               <span class="notetitle"> 说明： </span>
               <div class="notebody">
                <p id="exchange_0084__exchange_0083_p142261721229_1">关闭该开关，当目标数据库处于装入状态时，将会导致恢复失败。</p>
               </div>
              </div>
             </div></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.1 "><p>恢复后自动装入数据库</p></td>
            <td class="cellrowborder" valign="top" width="67.47%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.2 "><p>恢复完成后，目标数据库将处于卸除状态。开启该开关后，会自动装入目标数据库。</p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.1 "><p>数据库名称</p></td>
            <td class="cellrowborder" valign="top" width="67.47%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.2 "><p>设置恢复后的数据库新名称。</p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.1 "><p><span>恢复前执行脚本</span></p></td>
            <td class="cellrowborder" rowspan="3" valign="top" width="67.47%" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.2 "><p>仅对于单机的数据库恢复，可以设置“<span id="exchange_0084__exchange_0084_text1358816124015">恢复前执行脚本</span>”、“<span id="exchange_0084__exchange_0084_text18847162810407">恢复成功执行脚本</span>”、“<span id="exchange_0084__exchange_0084_text09251338144015">恢复失败执行脚本</span>”。</p>
             <div class="p">
              您可根据实际情况，在恢复任务执行前、或恢复任务执行成功后、或恢复任务执行失败后，执行用户自定义的脚本，脚本类型为bat。若将脚本放置在DataBackup\ProtectClient\ProtectClient-E\bin\thirdparty目录下，则只需填写脚本名称，若将脚本放置在其他目录下，则需要填写脚本绝对路径。
              <div class="note" id="exchange_0084__exchange_0083_note2110172314715_1">
               <span class="notetitle"> 说明： </span>
               <div class="notebody">
                <p id="exchange_0084__exchange_0083_p2011012319717_1">当配置了<span class="uicontrol" id="exchange_0084__exchange_0083_uicontrol128133372811_1">“<span id="exchange_0084__exchange_0083_text1081312373820_1">恢复成功执行脚本</span>”</span>时，即使该脚本执行失败，<span id="exchange_0084__exchange_0083_text294017569311_1">本产品</span>上也会显示恢复任务的状态为<span class="uicontrol" id="exchange_0084__exchange_0083_uicontrol1181363711811_1">“<span id="exchange_0084__exchange_0083_text14813103719816_1">成功</span>”</span>。请您留意任务详情中是否有后置脚本执行失败的相关提示，如有请及时修正脚本。</p>
               </div>
              </div>
             </div> <p></p> <p></p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.1 "><p><span>恢复成功执行脚本</span></p></td>
           </tr>
           <tr>
            <td class="cellrowborder" valign="top" headers="mcps1.3.4.2.5.2.1.2.2.2.3.1.1 "><p><span>恢复失败执行脚本</span></p></td>
           </tr>
          </tbody>
         </table>
        </div></li>
      </ul> <p></p></li>
     <li><span>单击<span class="uicontrol">“<span>确定</span>”</span>。</span></li>
    </ol>
   </div>
   <div class="section">
    <h4 class="sectiontitle">数据库用户级恢复</h4>
    <ol>
     <li><span>选择<span class="uicontrol" id="exchange_0084__zh-cn_topic_0000002199964685_uicontrol201131546165412_1">“<span id="exchange_0084__zh-cn_topic_0000002199964685_text4113184695420_1">数据利用</span> &gt; <span id="exchange_0084__zh-cn_topic_0000002199964685_text1311384665413_1">副本数据</span> &gt; <span id="exchange_0084__zh-cn_topic_0000002199964685_text843804914500_1">应用</span> &gt; <span id="exchange_0084__zh-cn_topic_0000002199964685_text1781814011566_1">Exchange</span>”</span>。</span></li>
     <li><span>支持以数据库资源维度或以副本维度查找副本，本节以数据库资源维度为例进行说明。</span><p></p><p>在“资源”页签，根据数据库名称查找到需要恢复的数据库，并单击数据库名称。</p> <p></p></li>
     <li><span>依次选择年、月、天找到副本。</span><p></p><p>当时间上显示<span><img src="zh-cn_image_0000002164809724.png"></span>，即表示该月、该天存在副本。</p> <p></p></li>
     <li><span>在副本所在行，单击<span class="uicontrol">“更多 &gt; 用户级恢复”</span>。</span><p></p>
      <ul>
       <li>恢复至原位置
        <ol type="a">
         <li>查看并确认目标单机/可用性组。</li>
         <li id="exchange_0084__li1768222217497">选择需要恢复的邮箱。</li>
         <li id="exchange_0084__li4196652104911">设置高级配置参数。<p id="exchange_0084__p13859473521"><a name="exchange_0084__li4196652104911"></a><a name="li4196652104911"></a>相关参数说明如<a href="#exchange_0084__table171912019135210">表3</a>所示。</p>
          <div class="tablenoborder">
           <a name="exchange_0084__table171912019135210"></a><a name="table171912019135210"></a>
           <table cellpadding="4" cellspacing="0" summary="" id="exchange_0084__table171912019135210" frame="border" border="1" rules="all">
            <caption>
             <b>表3 </b>用户级恢复高级配置参数
            </caption>
            <colgroup>
             <col style="width:32.53%">
             <col style="width:67.47%">
            </colgroup>
            <thead align="left">
             <tr id="exchange_0084__row1119251925213">
              <th align="left" class="cellrowborder" valign="top" width="32.53%" id="mcps1.3.5.2.4.2.1.1.1.3.2.2.3.1.1"><p id="exchange_0084__p1619281913527">参数</p></th>
              <th align="left" class="cellrowborder" valign="top" width="67.47%" id="mcps1.3.5.2.4.2.1.1.1.3.2.2.3.1.2"><p id="exchange_0084__p1019251910528">说明</p></th>
             </tr>
            </thead>
            <tbody>
             <tr id="exchange_0084__row171927198520">
              <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.5.2.4.2.1.1.1.3.2.2.3.1.1 "><p id="exchange_0084__p1519211915218"><span id="exchange_0084__text11921919135220">恢复前执行脚本</span></p></td>
              <td class="cellrowborder" rowspan="3" valign="top" width="67.47%" headers="mcps1.3.5.2.4.2.1.1.1.3.2.2.3.1.2 "><p id="exchange_0084__p169823813104">仅对于单机的数据库恢复，可以设置“<span id="exchange_0084__exchange_0084_text1358816124015_1">恢复前执行脚本</span>”、“<span id="exchange_0084__exchange_0084_text18847162810407_1">恢复成功执行脚本</span>”、“<span id="exchange_0084__exchange_0084_text09251338144015_1">恢复失败执行脚本</span>”。</p>
               <div class="p" id="exchange_0084__p76391019144416">
                您可根据实际情况，在恢复任务执行前、或恢复任务执行成功后、或恢复任务执行失败后，执行用户自定义的脚本，脚本类型为bat。若将脚本放置在DataBackup\ProtectClient\ProtectClient-E\bin\thirdparty目录下，则只需填写脚本名称，若将脚本放置在其他目录下，则需要填写脚本绝对路径。
                <div class="note" id="exchange_0084__exchange_0083_note2110172314715_2">
                 <span class="notetitle"> 说明： </span>
                 <div class="notebody">
                  <p id="exchange_0084__exchange_0083_p2011012319717_2">当配置了<span class="uicontrol" id="exchange_0084__exchange_0083_uicontrol128133372811_2">“<span id="exchange_0084__exchange_0083_text1081312373820_2">恢复成功执行脚本</span>”</span>时，即使该脚本执行失败，<span id="exchange_0084__exchange_0083_text294017569311_2">本产品</span>上也会显示恢复任务的状态为<span class="uicontrol" id="exchange_0084__exchange_0083_uicontrol1181363711811_2">“<span id="exchange_0084__exchange_0083_text14813103719816_2">成功</span>”</span>。请您留意任务详情中是否有后置脚本执行失败的相关提示，如有请及时修正脚本。</p>
                 </div>
                </div>
               </div></td>
             </tr>
             <tr id="exchange_0084__row51931219165217">
              <td class="cellrowborder" valign="top" headers="mcps1.3.5.2.4.2.1.1.1.3.2.2.3.1.1 "><p id="exchange_0084__p1119312199526"><span id="exchange_0084__text1619391985212">恢复成功执行脚本</span></p></td>
             </tr>
             <tr id="exchange_0084__row1819331914524">
              <td class="cellrowborder" valign="top" headers="mcps1.3.5.2.4.2.1.1.1.3.2.2.3.1.1 "><p id="exchange_0084__p219341955210"><span id="exchange_0084__text6193619115210">恢复失败执行脚本</span></p></td>
             </tr>
            </tbody>
           </table>
          </div></li>
        </ol></li>
       <li>恢复至新位置
        <ol type="a">
         <li>选择目标单机/可用性组。</li>
         <li>选择需要恢复的邮箱。</li>
         <li>设置高级配置参数。<p id="exchange_0084__exchange_0084_p13859473521">相关参数说明如<a href="#exchange_0084__exchange_0084_table171912019135210">表4</a>所示。</p>
          <div class="tablenoborder">
           <a name="exchange_0084__exchange_0084_table171912019135210"></a><a name="exchange_0084_table171912019135210"></a>
           <table cellpadding="4" cellspacing="0" summary="" id="exchange_0084__exchange_0084_table171912019135210" frame="border" border="1" rules="all">
            <caption>
             <b>表4 </b>用户级恢复高级配置参数
            </caption>
            <colgroup>
             <col style="width:32.53%">
             <col style="width:67.47%">
            </colgroup>
            <thead align="left">
             <tr id="exchange_0084__exchange_0084_row1119251925213">
              <th align="left" class="cellrowborder" valign="top" width="32.53%" id="mcps1.3.5.2.4.2.1.2.1.3.2.2.3.1.1"><p id="exchange_0084__exchange_0084_p1619281913527">参数</p></th>
              <th align="left" class="cellrowborder" valign="top" width="67.47%" id="mcps1.3.5.2.4.2.1.2.1.3.2.2.3.1.2"><p id="exchange_0084__exchange_0084_p1019251910528">说明</p></th>
             </tr>
            </thead>
            <tbody>
             <tr id="exchange_0084__exchange_0084_row171927198520">
              <td class="cellrowborder" valign="top" width="32.53%" headers="mcps1.3.5.2.4.2.1.2.1.3.2.2.3.1.1 "><p id="exchange_0084__exchange_0084_p1519211915218"><span id="exchange_0084__exchange_0084_text11921919135220">恢复前执行脚本</span></p></td>
              <td class="cellrowborder" rowspan="3" valign="top" width="67.47%" headers="mcps1.3.5.2.4.2.1.2.1.3.2.2.3.1.2 "><p id="exchange_0084__exchange_0084_p169823813104">仅对于单机的数据库恢复，可以设置“<span id="exchange_0084__exchange_0084_exchange_0084_text1358816124015">恢复前执行脚本</span>”、“<span id="exchange_0084__exchange_0084_exchange_0084_text18847162810407">恢复成功执行脚本</span>”、“<span id="exchange_0084__exchange_0084_exchange_0084_text09251338144015">恢复失败执行脚本</span>”。</p>
               <div class="p" id="exchange_0084__exchange_0084_p76391019144416">
                您可根据实际情况，在恢复任务执行前、或恢复任务执行成功后、或恢复任务执行失败后，执行用户自定义的脚本，脚本类型为bat。若将脚本放置在DataBackup\ProtectClient\ProtectClient-E\bin\thirdparty目录下，则只需填写脚本名称，若将脚本放置在其他目录下，则需要填写脚本绝对路径。
                <div class="note" id="exchange_0084__exchange_0084_exchange_0083_note2110172314715">
                 <span class="notetitle"> 说明： </span>
                 <div class="notebody">
                  <p id="exchange_0084__exchange_0084_exchange_0083_p2011012319717">当配置了<span class="uicontrol" id="exchange_0084__exchange_0084_exchange_0083_uicontrol128133372811">“<span id="exchange_0084__exchange_0084_exchange_0083_text1081312373820">恢复成功执行脚本</span>”</span>时，即使该脚本执行失败，<span id="exchange_0084__exchange_0084_exchange_0083_text294017569311">本产品</span>上也会显示恢复任务的状态为<span class="uicontrol" id="exchange_0084__exchange_0084_exchange_0083_uicontrol1181363711811">“<span id="exchange_0084__exchange_0084_exchange_0083_text14813103719816">成功</span>”</span>。请您留意任务详情中是否有后置脚本执行失败的相关提示，如有请及时修正脚本。</p>
                 </div>
                </div>
               </div></td>
             </tr>
             <tr id="exchange_0084__exchange_0084_row51931219165217">
              <td class="cellrowborder" valign="top" headers="mcps1.3.5.2.4.2.1.2.1.3.2.2.3.1.1 "><p id="exchange_0084__exchange_0084_p1119312199526"><span id="exchange_0084__exchange_0084_text1619391985212">恢复成功执行脚本</span></p></td>
             </tr>
             <tr id="exchange_0084__exchange_0084_row1819331914524">
              <td class="cellrowborder" valign="top" headers="mcps1.3.5.2.4.2.1.2.1.3.2.2.3.1.1 "><p id="exchange_0084__exchange_0084_p219341955210"><span id="exchange_0084__exchange_0084_text6193619115210">恢复失败执行脚本</span></p></td>
             </tr>
            </tbody>
           </table>
          </div></li>
        </ol></li>
      </ul> <p></p></li>
     <li><span>单击<span class="uicontrol">“<span>确定</span>”</span>。</span></li>
    </ol>
   </div>
   <div class="section">
    <h4 class="sectiontitle">后续操作</h4>
    <p id="exchange_0084__exchange_0083_p88701326556">恢复后，需要在生产端更新用户邮箱状态，并创建新的Active Directory域用户与恢复后的邮箱建立连接，以验证恢复后的用户邮箱数据。具体操作请参考<a href="exchange_0087.html">验证恢复后的用户邮箱数据（适用于Microsoft Exchange Server 2010）</a>或<a href="exchange_0088.html">验证恢复后的用户邮箱数据（适用于Microsoft Exchange Server 2013及后续版本）</a>。</p>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>父主题：</strong> <a href="exchange_0077.html">恢复</a>
    </div>
   </div>
  </div>
 </body>
</html>